public class AnnotationAwareOrderComparator extends OrderComparator
INSTANCE
Constructor and Description |
---|
AnnotationAwareOrderComparator() |
Modifier and Type | Method and Description |
---|---|
protected int |
getOrder(java.lang.Object obj)
Determine the order value for the given object.
|
compare, sort, sort
protected int getOrder(java.lang.Object obj)
OrderComparator
The default implementation checks against the Ordered
interface. Can be overridden in subclasses.
getOrder
in class OrderComparator
obj
- the object to checkOrdered.LOWEST_PRECEDENCE
as fallback